package exception;

public class ageException extends Exception {
    @Override
    public String getMessage() {//重写异常
        return "年龄必须大于零！";
    }
}
